package cn.liulingfengyu.behavioralpatterns.visitorpattern;

/**
 * 具体元素A
 */
public class ElementA implements Element {
    @Override
    public void accept(Visitor visitor) {
        visitor.visitElementA(this);
    }

    public void operationA() {
        System.out.println("ElementA 的操作");
    }
}